<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>第一个入门应用</title>
</head>
<body>
<script src="../js/vue.js"></script>


<div id="app">
{{msg}}<br>
    <h2>{{msg}}</h2>
    <span>{{msg}}</span>
    <span>
        <h2>{{msg}}</h2>
    </span>
    <h3>{{username}}</h3>
</div>

<script>
    var app = new Vue({
        el: "#app",   //element:元素
        data:{        //data:数据 用来vue实例对象绑定一系列数据
            msg:"欢迎你",
            username :"小陈!!",
        }
    });
</script>
</body>
</html>